package com.zd.room.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 户对象 room
 * 
 * @author fxiao
 * @date 2020-08-12
 */
public class Room extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDatetime;

    /** 更新时间 */
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDatetime;

    /** 可居住人数 */
    @Excel(name = "可居住人数")
    private Integer kjzrs;

    /** 实际居住人数 */
    @Excel(name = "实际居住人数")
    private Integer jzrs;

    /** 所属建筑id */
    @Excel(name = "所属建筑id")
    private String ssjzId;

    /** 编号 */
    @Excel(name = "房号")
    private Integer roomCode;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCreateDatetime(Date createDatetime) 
    {
        this.createDatetime = createDatetime;
    }

    public Date getCreateDatetime() 
    {
        return createDatetime;
    }
    public void setUpdateDatetime(Date updateDatetime) 
    {
        this.updateDatetime = updateDatetime;
    }

    public Date getUpdateDatetime() 
    {
        return updateDatetime;
    }
    public void setKjzrs(Integer kjzrs) 
    {
        this.kjzrs = kjzrs;
    }

    public Integer getKjzrs() 
    {
        return kjzrs;
    }
    public void setJzrs(Integer jzrs) 
    {
        this.jzrs = jzrs;
    }

    public Integer getJzrs() 
    {
        return jzrs;
    }
    public void setSsjzId(String ssjzId) 
    {
        this.ssjzId = ssjzId;
    }

    public String getSsjzId() 
    {
        return ssjzId;
    }
    public void setRoomCode(Integer roomCode)
    {
        this.roomCode = roomCode;
    }

    public Integer getRoomCode()
    {
        return roomCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createDatetime", getCreateDatetime())
            .append("updateDatetime", getUpdateDatetime())
            .append("kjzrs", getKjzrs())
            .append("jzrs", getJzrs())
            .append("ssjzId", getSsjzId())
            .append("roomCode", getRoomCode())
            .toString();
    }
}
